home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Unix / Piper / Piper.app / Piper.nib (.txt) < prev    next >
NeXT TypedStream Data  |  1993-01-25  |  7KB  |  134 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [597c]
  8. typedstream
  9.     HashTable
  10. Object
  11. FirstResponder
  12. HeaderClass
  13. %%%%i@@
  14. firstnib
  15. checkSpelling:
  16. alignSelCenter:
  17.     unscript:
  18. pasteFont:
  19. runPageLayout:
  20. superscript:
  21. copyRuler:
  22.     copyFont:
  23. selectAll:
  24. pasteRuler:
  25. toggleRuler:
  26. showGuessPanel:
  27. alignSelLeft:
  28. paste:
  29. performClose:
  30. arrangeInFront:
  31. subscript:
  32. copy:
  33. alignSelRight:
  34. delete:
  35. orderFrontColorPanel:
  36. underline:
  37. performMiniaturize:
  38. Piper
  39. genericobject_nib
  40. reloadScripts:
  41. [6302c]
  42. typedstream
  43.     HashTable
  44. Object
  45. NibData
  46. @@@@s
  47. Storage
  48. {*@@}
  49.     [18{*@@}]
  50. File's Owner
  51. CustomObject
  52. Application
  53. MainMenu
  54. MenuTemplate
  55. *@*@ccc
  56. Piper
  57. Matrix
  58. Control
  59.     Responder
  60. @:@iiii
  61. MenuCell
  62. ButtonCell
  63. ActionCell
  64.     Helvetica
  65. Info Panel...
  66. Help...
  67. ff@@#::s
  68. submenuAction:
  69. Bitmap
  70.     menuArrow
  71. Reexamine Offerings
  72. Services
  73. MenuItem
  74. PiperInstance
  75. WindowTemplate
  76. iiii***@s@
  77. Panel
  78.     TextField
  79. TextFieldCell
  80. Version 1.3.1
  81. +by Dave Griffiths and
  82.        Raf Schietekat
  83. Button
  84. NXImage
  85. Public Domain, no guarantees
  86. LThe program has been tested by Raf Schietekat who uses it daily. However, new errors might have crept in that did not manifest themselves yet. Since error handling is limited, you are advised to use this application wisely, and avoid trouble. Our efforts are directed towards a more powerful successor, rather than perfecting Piper.
  87. Button1
  88. Field2
  89. VersionNumber
  90. Field
  91. Field3
  92. ScrollView
  93. ClipView
  94. ciifffcfffs
  95. [3469c]{\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;\f2\fnil Helvetica-Bold;}
  96. \margl40
  97. \margr40
  98. {\colortbl\red0\green0\blue0;}
  99. \pard\tx1340\tx2680\tx4020\tx5360\tx6720\tx8060\tx9400\tx10740\tx12080\tx13440\f0\b\i0\ul0\fs48\fc0 \
  100.         Piper\
  101. \f1\b0\fs24 Piper is a simple utility which appears in the Services menu. It takes the current selection and if it is ASCII data, pipes it through a UNIX script (any output is returned). If it is an ascii filename, it passes it as a parameter to a script. So far, only ASCII text and filenames are handled.\
  102. The scripts must reside in ~/Library/Piper or /LocalLibrary/Piper (some are included in Piper.app/SampleScripts) and there must be one folder per script. Inside each folder (whose name will appear in Piper's service menu) there must be a file named "script" which contains the actual script (or binary). This file must be executable. There may also be a file called "options". The following lines are recognized:\
  103. \f2\b \
  104. \f1\b0\i Send Type: NXAsciiPboardType\
  105. Send Type: NXFilenamePboardType\
  106. Return Type: NXAsciiPboardType\
  107. Key Equivalent: Q\
  108. \f2\b\i0 \
  109. \f1\b0 If the "Return Type" line is seen, the output from the script is returned to the calling application (e.g. as in the Mail Send window). By default the output of the script is pasted to the selection pasteboard. Piper only returns ASCII data at present.\
  110. The "Key Equivalent" line may be used to specify a command key equivalent for that menu item.\
  111. When new script directories are added to ~/Library/Piper or /LocalLibrary/Piper, Piper doesn't know about them yet (well, the first time it does not even know the ones it carries by default in its SampleScripts internal folder!). You must click the service "Reexamine Offerings" (you can do so at any time). This will cause Piper to re-evaluate what it's got to offer and update its menu accordingly (do this also if scripts are deleted). You will still only be able to see the changes for applications launched after that. It is not necessary to log out and back in, as the previous version erroneously stated, but you will have to relaunch your applications that want this service in the current work session. Of course, if that application is the Workspace Manager, you will have to log out and back in, sadly enough.\
  112. I hope NeXT will soon offer the capability for an application to monitor certain directories, so that Piper will do this automatically. (NeXT has got a lot of object-orientedness to implement in the file system! Only this delegate capability would eliminate a lot of reboots, re-home-ins, app restarts (Edit pipes and commands), IB parses and Add...s etcetera etcetera.)\
  113. It should also let the Services menu be handled more elegantly, either by delegating that to the Workspace Manager (should be a breeze with remote object messaging), or by messaging running Application objects to update the Services themselves.\
  114. The idea came from Anthony Berno.\
  115. David Griffiths made Piper 1.1.\
  116. Raf Schietekat made subsequent versions.\
  117. Icon by Tim Bissell.\
  118. The two authors are independedly working on a successor (CyberMan, and ServiceMan).\
  119. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\fc0 \
  120. This is public domain software and you are invited to develop it for the better. Please contact the authors to synchronize efforts. Please report bugs also!\
  121. Raf Schietekat, RfSchtkt@banruc60.bitnet at 1992-07-03, uuencoded NeXT Mail preferred
  122. NXCursor
  123. NXibeam
  124. Scroller
  125. _doScroller:
  126. @@@ffs
  127. ScrollingText
  128. {i*@@@}
  129. [5{i*@@@}]
  130. terminate:
  131. delegate
  132. makeKeyAndOrderFront:
  133. reloadScripts:
  134.